
import request from './request'

export function checkPhoneApi(data) {
    return request.post('/app/finduser', data)
}

export function todoSentCode(params) {
    return request.get('http://lhx123.love:3300/captcha/sent', {
        params
    })
}
export function checkCaptcha(params) {
    return request.get('http://lhx123.love:3300/captcha/verify', {
        params
    })
}


export const todoRegister = (data) => request.post('/app/register', data)

export const todoLogin = (data) => request.post('/app/login', data)

export const gettokenApi = (data) => request.post('/app/gettoken', data)

export const todochangepass = (data) => request.post('/app/changepass', data)

export const todogetuserinfo = (params) => request.get('/app/getuserinfo', { params })

export const tochangeuserinfo = (data) => request.post('/app/changeuserinfo', data)

export const todouplodafile = (data) => request.post('/app/uplodafile', data)

export const todoaddmainshi = (data) => request.post('/app/addmainshi', data)

export const todogetmyinterviews = (data) => request.post('/app/getmyinterviews', data)

export const todogetmsbyid = (data) => request.post('/app/getmsbyid', data)

export const todogettmsbanners = (data) => request.post('/app/gettmsbanners', data)

export const todogethomelist = (data) => request.post('/app/gethomelist', data)

export const todogetallinters = (data) => request.post('/app/getallinters', data)

export const todochangemshot = (data) => request.post('/app/changemshot', data)

export const todogetmslikes = (data) => request.post('/app/getmslikes', data)

export const todoaddlikeone = (data) => request.post('/app/addlikeone', data)

export const tododellikeone = (data) => request.post('/app/dellikeone', data)

export const todochangemsinfo = (data) => request.post('/app/changemsinfo', data)

export const todogetcollectlist = (data) => request.post('/app/getcollectlist', data)

export const todoaddcollectone = (data) => request.post('/app/addcollectone', data)

export const tododelcollectone = (data) => request.post('/app/delcollectone', data)

export const todoaddanswersone = (data) => request.post('/app/addanswersone', data)

export const todogetanswerlist = (data) => request.post('/app/getanswerlist', data)

export const todogetpinglist = (data) => request.post('/app/getpinglist', data)

export const todoaddpingsone = (data) => request.post('/app/addpingsone', data)

export const todoAddOffer = (data) => request.post('/app/offer/add', data)

export const todoGetOfferList = (data) => request.post('/app/offer/mylist', data)

export const todoUpdateOffer = (data) => request.post('/app/offer/update', data)

export const todoRemoveOffer = (data) => request.post('/app/offer/remove', data)